package com.tsing.pojo.dto;

import java.sql.Timestamp;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * @author 吴阳基
 * @datetime 2023/12/8 18:49
 */
public class NewsDTO {
    private Integer page;
    private Integer size;
    private String title;
    private Integer enable;
    private Timestamp beginDate;
    private Timestamp endDate;

    public NewsDTO() {
    }

    public NewsDTO(Integer page, Integer size, String title, Integer enable, Timestamp beginDate, Timestamp endDate) {
        this.page = page;
        this.size = size;
        this.title = title;
        this.enable = enable;
        this.beginDate = beginDate;
        this.endDate = endDate;
    }

    /**
     * 获取
     * @return page
     */
    public Integer getPage() {
        return page;
    }

    /**
     * 设置
     * @param page
     */
    public void setPage(Integer page) {
        this.page = page;
    }

    /**
     * 获取
     * @return size
     */
    public Integer getSize() {
        return size;
    }

    /**
     * 设置
     * @param size
     */
    public void setSize(Integer size) {
        this.size = size;
    }

    /**
     * 获取
     * @return title
     */
    public String getTitle() {
        return title;
    }

    /**
     * 设置
     * @param title
     */
    public void setTitle(String title) {
        this.title = title;
    }

    /**
     * 获取
     * @return enable
     */
    public Integer getEnable() {
        return enable;
    }

    /**
     * 设置
     * @param enable
     */
    public void setEnable(Integer enable) {
        this.enable = enable;
    }

    /**
     * 获取
     * @return beginDate
     */
    public Timestamp getBeginDate() {
        return beginDate;
    }

    /**
     * 设置
     * @param beginDate
     */
    public void setBeginDate(Timestamp beginDate) {
        this.beginDate = beginDate;
    }

    /**
     * 获取
     * @return endDate
     */
    public Timestamp getEndDate() {
        return endDate;
    }

    /**
     * 设置
     * @param endDate
     */
    public void setEndDate(Timestamp endDate) {
        this.endDate = endDate;
    }

    public String toString() {
        return "NewsDTO{page = " + page + ", size = " + size + ", title = " + title + ", enable = " + enable + ", beginDate = " + beginDate + ", endDate = " + endDate + "}";
    }
}
